<script setup lang="ts">
  import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
  import env from '@/config/env';
  import useAppStore from '@/store/app';
  import updateApp from '@/utils/update';
  onLaunch(() => {
    const appStore = useAppStore();
    console.log('App Launch')
    console.log('apiEnv', env)
    const systemInfo = appStore.getSystemInfo()
    console.log(systemInfo, 'systemInfo')
  });
  onShow(() => {
    console.log("App Show");
    updateApp();
  });
  onHide(() => {
    console.log("App Hide");
  });
</script>
<style></style>